<?php

class UserTypeRestResource extends RestResource {

    private static $instance;

    protected function __construct() {
        parent::__construct('UserType', '/user-types');
    }

    /**
     * @return UserTypeRestResource
     */
    public static function singleton() {
        if (!isset(self::$instance)) {
            self::$instance = new UserTypeRestResource();
        }
        return self::$instance;
    }

}